Commit 8f5e564b by 宋祥

Merge branch 'dev-sx' of http://129.211.46.84:8800/platform/hg-smart

 Conflicts:
	src/main/resources/application.properties
parents 50765dfc 56725d6e
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<sql id="condition"> <sql id="condition">
AND A.DELETE_FLAG = '0' AND A.DELETE_FLAG = '0'
<include refid="SqlBase.authCondition"/> <include refid="HGXSDataAuth.authConditionA"/>
<isNotEmpty prepend=" AND " property="id"> <isNotEmpty prepend=" AND " property="id">
A.ID = #id# A.ID = #id#
</isNotEmpty> </isNotEmpty>
......
...@@ -296,7 +296,8 @@ ...@@ -296,7 +296,8 @@
SET SET
COMPANY_CODE = #companyCode#, COMPANY_CODE = #companyCode#,
COMPANY_NAME = #companyName#, COMPANY_NAME = #companyName#,
PROJ_NAME = #projName# PROJ_NAME = #projName#,
<include refid="SqlBase.updateRevise"/>
WHERE PROJ_CODE = #projCode# WHERE PROJ_CODE = #projCode#
</update> </update>
......
...@@ -173,13 +173,13 @@ public class ServiceHGSJ001 extends ServiceEPBase { ...@@ -173,13 +173,13 @@ public class ServiceHGSJ001 extends ServiceEPBase {
public List<String> getOrgId(){ public List<String> getOrgId(){
Map<String, Object> orgMap = new HashMap(); Map<String, Object> orgMap = new HashMap();
List<Org> orgList = HGXSTools.XsOrg.queryByUser(); List<Org> orgList = HGXSTools.XsOrg.queryByUser();
if (CollectionUtils.isNotEmpty(orgList)) { if (CollectionUtils.isNotEmpty(orgList)){
Org org = orgList.get(0); Org org = orgList.get(0);
if (!org.getOrgType().equals("company")) { if (!org.getOrgType().equals("company")) {
//如果不是公司公司,则找到上一级 //如果不是公司公司,则找到上一级
Org org1 = HGXSTools.XsOrg.queryCompany(org.getOrgId()); Org org1 = HGXSTools.XsOrg.queryCompany(org.getOrgId());
orgMap.put("orgId", org1.getParentOrgId()); orgMap.put("orgId",org1.getParentOrgId());
} else { }else {
orgMap.put("orgId", org.getParentOrgId()); orgMap.put("orgId", org.getParentOrgId());
} }
} }
...@@ -194,4 +194,21 @@ public class ServiceHGSJ001 extends ServiceEPBase { ...@@ -194,4 +194,21 @@ public class ServiceHGSJ001 extends ServiceEPBase {
return strList; return strList;
} }
/**
* 下拉框
*
* @param inInfo
* @return
*/
@OperationLogAnnotation(operModul = "仓库档案", operType = "查询", operDesc = "下拉框")
public EiInfo queryComboBox(EiInfo inInfo) {
try {
List<DdynamicEnum> list = new ArrayList<>();
list.add(DdynamicEnum.PROCESS_CODE_BLOCK_ID);
CommonMethod.initBlock(inInfo, list, EiInfoUtils.getFirstRow(inInfo), false);
} catch (Exception e) {
LogUtils.setDetailMsg(inInfo, e, "查询工序失败");
}
return inInfo;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment