md
This commit is contained in:
parent
696110dfda
commit
ce26290f68
@ -66,13 +66,9 @@ public class EmisCustomerAddressController extends BaseController
|
||||
{
|
||||
// 需要限制,除总部外,只能查看站点自有数据
|
||||
startPage();
|
||||
// if(!getLoginUser().getUser().isTopSite()) {
|
||||
// }
|
||||
|
||||
if(StringUtils.isEmpty(emisCustomerAddress.getUseSiteCode())) {
|
||||
emisCustomerAddress.setUseSiteCode(getLoginUser().getUser().getOwnerSiteCode());
|
||||
}
|
||||
|
||||
List<EmisCustomerAddress> list = emisCustomerAddressService.selectEmisCustomerAddressList(emisCustomerAddress);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@ -69,6 +69,8 @@ public class EmisCustomerAddressServiceImpl extends EmisBaseService implements I
|
||||
emisCustomerAddress.setUseSiteCode(getCurrentUser().getOwnerSiteCode());
|
||||
emisCustomerAddress.setUseSite(getCurrentUser().getOwnerSiteName());
|
||||
|
||||
|
||||
|
||||
// 创建用户
|
||||
return emisCustomerAddressMapper.insertEmisCustomerAddress(emisCustomerAddress);
|
||||
}
|
||||
|
||||
@ -58,10 +58,10 @@
|
||||
<if test="prodNameEn != null and prodNameEn != ''"> and prod_name_en like concat('%', #{prodNameEn}, '%')</if>
|
||||
<if test="status != null "> and status = #{status}</if>
|
||||
<if test="country != null and country != ''"> and country like concat('%', #{country}, '%')</if>
|
||||
<if test="transLineCode != null and transLineCode != ''"> and trans_line_code like concat('%', #{transLineCode}, '%')</if>
|
||||
<if test="transLineCode != null and transLineCode != ''"> and trans_line_code=#{transLineCode}</if>
|
||||
<if test="transLine != null and transLine != ''"> and trans_line like concat('%', #{transLine}, '%')</if>
|
||||
<if test="carryType != null and carryType != ''"> and carry_type like concat('%', #{carryType}, '%')</if>
|
||||
<if test="transType != null and transType != ''"> and trans_type like concat('%', #{transType}, '%')</if>
|
||||
<if test="carryType != null and carryType != ''"> and carry_type=#{carryType}</if>
|
||||
<if test="transType != null and transType != ''"> and trans_type=#{transType}</if>
|
||||
<if test="agingDesc != null and agingDesc != ''"> and aging_desc like concat('%', #{agingDesc}, '%')</if>
|
||||
<if test="minAging != null "> and min_aging = #{minAging}</if>
|
||||
<if test="maxAging != null "> and max_aging = #{maxAging}</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user