|
|
@ -99,37 +99,37 @@ public class ItembasicServiceImpl implements ItembasicService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void isStdPackExists(Integer stdPack) { |
|
|
|
private void isStdPackExists(String stdPack) { |
|
|
|
if (stdPack == null) { |
|
|
|
throw exception(ITEMBASIC_NOT_RIGHT); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void enableBuyExists(Integer enableBuy) { |
|
|
|
private void enableBuyExists(String enableBuy) { |
|
|
|
if (enableBuy == null) { |
|
|
|
throw exception(ITEMBASIC_NOT_RIGHT); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void enableMakeExists(Integer enableMark) { |
|
|
|
private void enableMakeExists(String enableMark) { |
|
|
|
if (enableMark == null) { |
|
|
|
throw exception(ITEMBASIC_NOT_RIGHT); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void enableOutsouringExists(Integer enblOutsouring) { |
|
|
|
private void enableOutsouringExists(String enblOutsouring) { |
|
|
|
if (enblOutsouring == null) { |
|
|
|
throw exception(ITEMBASIC_NOT_RIGHT); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void isRecycledExists(Integer isRecycled) { |
|
|
|
private void isRecycledExists(String isRecycled) { |
|
|
|
if (isRecycled == null) { |
|
|
|
throw exception(ITEMBASIC_NOT_RIGHT); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void isPhantomExists(Integer isPhantom) { |
|
|
|
private void isPhantomExists(String isPhantom) { |
|
|
|
if (isPhantom == null) { |
|
|
|
throw exception(ITEMBASIC_NOT_RIGHT); |
|
|
|
} |
|
|
@ -153,7 +153,7 @@ public class ItembasicServiceImpl implements ItembasicService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void availableExists(Integer available) { |
|
|
|
private void availableExists(String available) { |
|
|
|
if (available == null) { |
|
|
|
throw exception(ITEMBASIC_NOT_RIGHT); |
|
|
|
} |
|
|
|